<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
<meta name="format-detection" content="telephone=no">
<title>服务项目订单列表 - {$cwgl_config['webtitle']}</title>
<link href="{$templateurl}/css/css.css" rel="stylesheet" type="text/css">
<link href="{$templateurl}/css/common.css" rel="stylesheet" type="text/css">
</head>
<body >
<!--分页-->
<link href="./resource/css/bootstrap.min.css" rel="stylesheet">
<!--分页-->
<style>
	.form-control_pp{width:180px;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
	.tab_menu li a{ color:#666666; display:block;}
	.tab_menu .selected a{ color:#FFFFFF;}
</style>

<div class="head">
	<div class="content-top clearFix">
    <a href="{php echo $this->createMobileUrl('staff_index')}">
	 <em class="return"><</em>
	 <span class="fanhui">返回</span>
	</a>
	<!--搜索 start-->
	<div style="float:right;">
	<form action="./index.php" method="get" class="form-inline" role="form">
	<input type="hidden" name="i" value="{$_GPC['i']}">
	<input type="hidden" name="c" value="{$_GPC['c']}">
	<input type="hidden" name="do" value="{$_GPC['do']}">
	<input type="hidden" name="m" value="{$_GPC['m']}">
	<input type="txt" class="form-control_pp" name="keyword" value="{$_GPC['keyword']}" placeholder="请输入关键字">
	<input type="submit" class="btn btn-default" value="搜索">
	</form>
	</div>
	<!--搜索 end-->
   </div>
</div>

<div id="content">
  
   <div class="tab-bd clearFix" id="tab">
	   <ul class="tab_menu clearFix">
		<li {if $_GPC['type']==''}class="selected"{/if}><a href="{$urltk}">未处理</a></li>
		<li {if $_GPC['type']=='1'}class="selected"{/if}><a href="{$urltk}&type=1">处理中</a></li>
		<li {if $_GPC['type']=='2'}class="selected"{/if}><a href="{$urltk}&type=2">已完成</a></li>
	   </ul>
	   <div class="tab_box">
		  <div class="ser-orderlist">
		  
			  <ul class="orderlist">
				{loop $list $key $value}
				<li>
				   <div class="picbox">
				   <a href="{php echo $this->createMobileUrl('fw_show', array('id' => $value[sid]))}" class="pic">
					{if $value[imgurl]}
					<img src="{php echo tomedia($value[imgurl]);}" onerror="this.src='./resource/images/nopic.jpg'; this.title='缩略图片未上传.'" />
					{else}
					<img src="../addons/{$_GPC['m']}/template/no_image.gif" />
					{/if}
				   </a>
				   </div>
				  <div class="orderinfo">
					  <h3 class="htit">{$value['titlename']}</h3>
					  <p class="pinfo">
						<span>单价：￥{$value['price']}</span>
						<span>数量 {$value['number']}</span>
						<span>实收款</span>
						<span class="price">￥{$value['paymoney']}</span>
					  </p>
					  <p>买家：{$value['compname']}</p>
					  <p>
						状态：
						{if $value['paystatus']}
							已付款，
							{if $value['ygcomplete']}
								已完成，
								{if $value['pjstate']}已评价
								{else}<font color="#CC0000">未评价</font>
								{/if}
							{else}
								{if $value['yguid']}<font color="#006600">处理中...</font>{else}<font color="#CC0000">未受理</font>{/if}
							{/if}
						{else}
							<font color="#CC0000">未付款</font>
						{/if}
					  </p>
					  <p class="clearFix">
					   <a href="{$urltk}&op=view&id={$value['id']}" class="btnpt btn-look">查看详情</a>
					   {if $value['yguid']>0}
					    <a href="{$urltk}&op=progress&id={$value['id']}" class="btnpt btn-du">进度管理</a>
						{if $value['ygcomplete']==0}
						<a href="{$urltk}&op=add&id={$value['id']}" class="btnpt btn-du">发布进度</a>
						<a href="{$urltk}&op=succeed&id={$value['id']}" class="btnpt btn-du">确认完成</a>
						{/if}
					   {/if}
					  </p>
				  </div>
				</li>
				{/loop}
			  </ul>
			  <div style="padding: 0 10px; text-align:center;">
				<style>
					.pagination {margin-top: 0px;}
				</style>
				{$pager}
			  </div>
			 </div>
	   
	  </div>
  
	</div>
   
</div>

<!--footer star-->
{template 'staff_footer'}
</body>
</html>
